Sensors blocks
Sensors blocks allows to configure any sensor connected externally or internally to Veronte Autopilot 1x.
As the outputs of these blocks are not 'ready' to be directly implemented in the navigation block (EKF algorithm), these blocks are usually connected afterwards to EKF Adapters blocks.
Altimeter
Altimeter sensor block reads the measurements of a range sensor (Lidar, external range sensor or external radar altimeter) and provides them, together with their variance, to the navigation filters.
-
Output
Pin 0: Measurement as a 3-dimensional real array with the following components:- 0: Update flag: True only in the step in which a new measurement is received.
- 1: Altitude measurement (m).
- 2: Variance of the measurement (m2). It is the variance configured for the selected sensor in the Sensors menu, never lower than 1E-4 m2 (1 cm2).
-
Configuration menu:
Altimeter block configuration The following parameter must be configured:
- Sensor: Range sensor whose measurements are read by the block. The available options are:
- Lidar 1 to Lidar 5: Lidar devices configured in the Lidar panel of the Sensors menu.
- External range sensor 1 to External range sensor 5: Range sensors whose measurements are received from external devices.
- External radar altimeter: Radar altimeter whose measurements are received from an external device.
Note
The variance of the measurement is no longer configured in this block. It is configured for each sensor in the Sensors menu.
- Sensor: Range sensor whose measurements are read by the block. The available options are:
The logic of this block is summarized below:
- Each time the selected sensor provides a new measurement, the block sets the update flag to true and outputs the altitude measurement and its variance.
- The output feeds the Altitude EKF adapter block.
- Then, the EKF fuses this measurement with the rest of the height sources (e.g. SRTM), giving more weight to the one with lower variance.
Dynamic pressure
Dynamic pressure sensor block processes the received data in order to calculate the dynamic pressure.
-
Outputs
Qinf: Dynamic pressure measurement (Pa). If the measurement is equal to or lower than the Minimum value to compute dependant values, it is replaced by the Value when the measurement is below the threshold.
IAS: Indicated airspeed (m/s), computed from Qinf with the sea level air density of the standard atmosphere (ISA).
CAS: Calibrated airspeed (m/s). It is the IAS multiplied by the calibration gain of the selected sensor, configured in the Dynamic Pressure panel of the Sensors menu.
EAS: Equivalent airspeed (m/s). It is the CAS corrected for compressibility.
Wind: Airspeed measurement for the navigation filters as a 3-dimensional real array with the following components:- 0: Update flag: True only in the step in which a new measurement is received.
- 1: True airspeed, TAS (m/s), computed from the EAS and the air density.
- 2: Variance of the TAS (m2/s2). It is obtained from the variance of the dynamic pressure configured for the selected sensor in the Sensors menu (Pa2, never lower than 0.01 Pa2), propagated to the TAS.
Note
IAS, CAS, EAS and Wind are only updated when there is a new measurement.
When the navigation source is a simulation, Qinf is computed from the simulated IAS. When the navigation source is external, it is computed from the velocity of the vehicle. In both cases a new measurement is considered to be received in every step.
-
Configuration menu:
Dynamic pressure block configuration The following parameters must be configured:
-
Sensor: Source of the dynamic pressure data. It is possible to choose between 0 - Internal, 3 - Decimal var sensor 0 and 4 - Decimal var sensor 1.
-
Minimum value to compute dependant values [Pa]: Dynamic pressure threshold. Measurements equal to or lower than this value are considered unreliable and are not used to compute the airspeeds.
-
Value when the measurement is below the threshold [Pa]: Dynamic pressure used instead of the measurement when it does not exceed the previous threshold. It must be greater than 0 and lower than or equal to the Minimum value to compute dependant values; otherwise, a PDI error is generated.
Note
The variance of the measurement is no longer configured in this block. It is configured for each sensor in the Sensors menu.
-
GNSS sensor
GNSS sensor block configures GNSS receivers, RTK and External source.
-
Outputs
Pos: Absolute position measurement bus with the following fields:- 0: Update flag: True only in the step in which a new position measurement is received.
- 1: Fix type: 0 (No fix), 1 (Horizontal fix), 2 (Vertical fix) or 3 (3D fix). This block gives 3 when the receiver reports position fix and 0 otherwise.
- 2: Position: Measured absolute position (latitude, longitude and height).
- 3: Position variance in NED frame (North, East and Down) (m2).
- 4: Antenna position with respect to the center of mass in body frame (X, Y and Z) (m).
- 5: Measurement time: System time at which the position was measured (current time minus the measurement delay).
- 6: Measurement delay variance (s2).
Vel: Velocity measurement as a real array with the following components (indices 0 to 15):- 0: Update flag (1 only in the step in which a new measurement is received, 0 otherwise)
- 1: Fix flag
- 2: North velocity (m/s)
- 3: East velocity (m/s)
- 4: Down velocity (m/s)
- 5: North velocity variance (m2/s2)
- 6: East velocity variance (m2/s2)
- 7: Down velocity variance (m2/s2)
- 8: North-East velocity covariance (m2/s2)
- 9: North-Down velocity covariance (m2/s2)
- 10: East-Down velocity covariance (m2/s2)
- 11: X body antenna position (m)
- 12: Y body antenna position (m)
- 13: Z body antenna position (m)
- 14: Measurement delay (s)
- 15: Measurement delay variance (s2)
Note
The GNSS sensor block always sets the velocity covariances (components 8, 9 and 10) to 0.
Drn: Relative position measurement as an 11-dimensional real array with the following components:- 0: Update flag (1 only in the step in which a new measurement is received, 0 otherwise)
- 1: Rover flag (1 if the receiver is acting as rover, 0 if it is acting as base). Only GNSS 1 and GNSS 2 can act as rover; GPS External and NMEA GNSS are always considered a base.
- 2: Time of week (TOW) of the measurement, used to match the measurements of two rovers
- 3: North relative distance (m)
- 4: East relative distance (m)
- 5: Down relative distance (m)
- 6: Relative distance variance (m2)
- 7: X body antenna position (m)
- 8: Y body antenna position (m)
- 9: Z body antenna position (m)
- 10: Measurement delay (s)
Note
The antenna position included in the three outputs is the one configured in the Antenna position parameter of this block.
-
Configuration menu:
GNSS sensor block configuration The parameters to be configured in the first and last row of this configuration menu are presented below:
-
Select sensor: The first parameter to select is the GNSS sensor: GNSS 1, GNSS 2, GPS External or NMEA GNSS. Depending on the sensor selected, the block will change name and configuration menu. However, GNSS 1-2 have the same configuration menu.
GNSS sensor blocks -
Ublox preset: By default, Custom is selected. If an option other than Custom is selected, users will only be able to configure the 'Sensor Variance' tab (this tab will be described below).
GNSS sensor block configuration - Rover/Dynamic base/Static base - Custom: This option allows the user to modify all the tabs that appear in this menu (all tabs are described below).
-
Rover: By choosing this option, a default 'Rover' configuration will be selected for this block.
This corresponds to 'MOVING BASE Rover' units and 'STATIC BASE' AIR units of the RTK wizard (described below).
-
Dynamic base: By choosing this option, a default 'Dynamic base' configuration will be selected for this block.
This corresponds to 'MOVING BASE Base' units of the RTK wizard (described below).
-
Static base: By choosing this option, a default 'Static base' configuration will be selected for this block.
This corresponds to GND units of the RTK wizard (described below).
For more information on these default configurations, click here (go to section 3.1.5).
-
RTK Wizard: This interface helps the user configuring everything related to RTK or GNSS Compass. By clicking here, the configuration menu will be displayed:
GNSS sensor block configuration - RTK Wizard In this menu, the user can find 3 different options:
-
RTK: Stands for Real Time Kinematics (RTK) and it is a satellite navigation technique used to enhance the precision of position data derived from satellite-based positioning systems. To work, it requires 2 GNSS receivers placed in different autopilots.
By clicking on 'Air', a default 'Custom' configuration will be loaded in this block. Likewise, by clicking on 'Ground', a default 'Static base' configuration will be selected.
Important
Static base mode is the only mode that improves absolute GNSS position accuracy, and the base receiver must remain stationary. Moving it can cause position and velocity estimation errors in the rover receiver using its RTK corrections.
-
Compass: The GNSS compass provides accurate dual antenna GNSS-based heading that is not subject to magnetic interference.
It requires 2 GNSS receivers placed on the same autopilot to work.
By clicking on 'Air', a default 'Moving base' configuration will be loaded if this GNSS receiver has been selected as base.
Otherwise, if this GNSS receiver has been selected as rover, a default 'Rover' configuration will be loaded.
Important
Moving base mode allows the base receiver to move and improves the relative position accuracy between the base and rover receivers. It is used by GNSS Compass to provide accurate heading; it does not improve their absolute GNSS position accuracy.
-
RTK + Compass: Hybrid combination where both tools are employed at the same time in a system where the AIR unit must have 2 GNSS receivers and the GND must have, at least, 1 GNSS receiver.
By clicking on 'Air', a default 'Rover' configuration will be loaded in this block. Likewise, by clicking on 'Ground', a default 'Static base' configuration will be selected.
-
-
Antenna position: It is used to set the relative distance to the center of mass from the GNSS antenna in aircraft body axis.
This parameter has to be set correctly in order to get a correct value when using GNSS Compass.
-
Delay: Delay with which the GPS information is 'picked up', as the GPS may have a small delay while it reads and processes the information.
The measurement delay given in the outputs is computed automatically for each measurement from the GNSS time information of the receiver (time of week of the measurement compared with the last time mark received). The value configured here is only used when no GNSS time information is available from the selected receiver. It must be greater than or equal to 0.
In case the user has selected GNSS 1 or GNSS 2, the internal GPS of the Veronte Autopilot 1x has a default delay of 0.5 seconds.
-
Delay variance: Variance of the measurement delay (s2). It is given in the Pos and Vel outputs. It must be greater than or equal to 0.
-
-
GNSS 1-2 configuration menu:
-
Configuration: This menu contains some of the parameters needed to configure the GNSS 1-2 receiver located in Veronte Autopilot 1x.
GNSS 1/2 sensor block configuration - Configuration tab The following parameters are configurable:
-
GNSS: Data values that can be configured.
- Meas Rate: Defines the minimum time between data acquisition.
- Precise Point Positioning (PPP): This option is a precise global positioning service. PPP is able to provide centimetre to decimetre level positioning solutions after a few minutes with an unobstructed view of the sky.
-
Survey In: Determines the position of a stationary receiver by building a weighted average of all valid 3D position solutions.
This mode should be activated on a Ground unit to enable GNSS Differential mode and send corrections to the Air unit.
Two requirements must be specified to stop the procedure. Survey in procedure shall end when both requirements are met:
-
Minimum duration: Defines a minimum amount of observation time independent of the actual number of valid fixes that were used for the position calculation. Reasonable values range from one day for high accuracy requirements to a few minutes for approximate position determination.
-
Position accuracy limit: Defines a limit on the dispersion of positions contributing to the calculated mean.
-
-
SPI Port: Allows the user to select the different comunication protocols as input or output. One port can handle several protocols at the same time (e.g. NMEA and UBX).
- Mask in: Defines the inputs, i.e., receives the data (usually the air unit). The available protocols are UBLOX, NMEA, RTCM and RTCM3.
- Mask out: Defines the outputs, i.e. sends the data (usually the ground unit). The available protocols are UBLOX, NMEA and RTCM3.
More information on protocols and configuration can be found in the U-blox documentation.
-
SCI Port: In this case, RTK messages that are sent through the RTCM3 protocol are connected directly through an SCI port, so they do not occupy the bandwidth of the SPI port.
-
-
SBAS: SBAS stands for Satellite Based Augmentation System. It is a set of geostationary satellites that are used to check the status of the signals sent by GPS Satellites and to improve tracking by correcting for atmospheric disturbations, orbit deviations, clock errors, etc.
In 1x PDI Builder, it is possible to select the satellites to be used for this purpose by selecting the numbers listed in the table in the figure below or have the software choose them automatically according to the location of the platform.
The automatic option is recommended.
GNSS 1/2 sensor block configuration - SBAS tab -
Message Rate: The Message rate options are used to set the time between the messages received on the autopilot. Each of the different messages can be configured separately: ECEF (Earth Centred Fixed Reference Frame), LLH (Latitude, Longitude and Height), Speed, GPS Time, SV Status (status of the GPS satellite), etc.
GNSS 1/2 sensor block configuration - Message Rate tab More information on the list of RTCM 3 messages can be found here.
-
Constellations: In this tab, the user can select which GNSS constellations are being used from the supported constellations listed in the figure below:
GNSS 1/2 sensor block configuration - Constellations tab - SBAS
- Galileo
- BeiDou
- QZSS
-
GLONASS
-
Advanced: The values shown here should only be modified by advanced users. For this reason, the following message appears when entering this tab:
GNSS 1/2 sensor block configuration - Warning advanced tab
GNSS 1/2 sensor block configuration - Advanced tab Warning
Not recommend parameters may cause problems during the acquisition of GNSS positioning.
- Minimum satellites number: Minimum number of satellites needed to have position fixed (6 recommended).
- Maximum satellites number: Maximum number of satellites needed to have position fixed (20 recommended).
- Minimum satellite elevation: Minimum elevation of a satellite to be considered. Value in degrees (5.0 recommended).
- PDOP mask: Maximum Position Dilution of Precision to consider the solution (25.0 recommended).
- TDOP mask: Maximum Time Dilution of Precision to consider the solution (100.0 recommended).
- P Acc mask: Maximum Position Accuracy to consider the solution (5 m recommended).
- T Acc mask: Maximum Time Accuracy to consider the solution (100.0 s recommended).
-
Dynamic model
The embedded receiver supports different dynamic platform models to adjust the GNSS navigation engine to the expected application environment. The settings improve the receiver's interpretation of the measurements and thus provide a more accurate position output.
Setting the receiver to an unsuitable platform model for the given application environment is likely to result in a loss of receiver performance and position accuracy.
Platform Description Portable Applications with low acceleration. Stationary Stationary applications. Velocity restricted to 0 m/s. Zero dynamics assumed. Pedestrian Applications with low acceleration and speed. Low acceleration assumed. Automotive Used for applications with equivalent dynamics to those of a car. Low vertical acceleration assumed. Sea Recommended for applications at sea, with zero vertical velocity. Zero vertical velocity assumed. Sea level assumed. Airborne 1G Used for applications with a higher dynamic range and greater vertical acceleration than a car. Airborne 2G Recommended for typical airborne environments. Airborne 4G Recommended for extremely dynamic environments.
-
Sensor Variance: The variances considered in the EKF for the GNSS solution are by default the values provided by the GNSS receiver but can be modified for more complex scenarios.
GNSS sensor block configuration - Sensor variance tab Each variance can be taken from the receiver or set by the user. When a user value is set, it acts as a lower limit: the block outputs the maximum between the variance given by the receiver and the configured value. In both cases, the variance is never lower than the minimum value indicated below (a user value lower than this minimum is not allowed):
- Horizontal Position: Variance for the North and East components of the position solution. Minimum: 0.02 m2.
- Vertical Position: Variance for the Down component of the position solution. Minimum: 0.09 m2.
- Horizontal Velocity: Variance for the North and East components of the velocity solution. Minimum: 0.01 m2/s2.
- Vertical Velocity: Variance for the Down component of the velocity solution. Minimum: 0.01 m2/s2.
- Relative Position: This is the variance of the relative position from one GNSS receiver to another. Minimum: 0.0025 m2.
-
-
GPS External configuration menu: If the GNSS information is received via an external system, the user must configure it in this menu, so that this system can be included in the navigation filters. After correctly configuring the communication protocol in the corresponding channel (RS232, RS485, CAN, ...) the GPS External variables of interest must be filled in this interface:
-
Configuration:
GPS External sensor block configuration - Configuration tab Caution
Check GNSS External device communication protocol before filling this menu.
The user must create a Custom Message according to the communication protocol used by the external sensor, so that its readings are stored in system variables. Then, the user can select these variables to configure the following parameters:
- Enable.
- Period: Defines the period of incoming information from the external system.
- Fix Bit: Data provided by the external device which is important to know the status of the positioning.
- Time of week: Variable extracted from the communication protocol defining the time of the week.
- GPS Week: Variable extracted from the communication protocol defining the week.
-
Enable position:
- GPS Position: Variable defining latitude, longitude and height from GNSS. Usually Moving Object variables are used in 1x PDI Builder.
- Horizontal Position Error: Defined by the GNSS External device provider.
- Vertical Position Error: Defined by the GNSS External device provider.
-
Enable Velocity:
- Horizontal Velocity Error: Defined by the GNSS External device provider.
- Vertical Velocity Error: Defined by the GNSS External device provider.
-
Velocity North/East/Down: Variables extracted from the communication protocol defining GNSS velocity measured.
-
Sensor Variance: This tab is configured in the same way as described above.
-
-
NMEA GNSS:
-
Configuration: This menu contains some of the parameters needed to configure the NMEA GNSS receiver located in Veronte Autopilot 1x. The only tab avaiable correspond to Sensor Variance, configured in the same way as described above.
NMEA GNSS sensor block configuration - Sensor Variance tab
-
Magnetic Field
Magnetic Field sensor block returns the configured magnetic field in the current location.
Note
The magnetic field configuration is global, shared by all blocks of this type.
-
Output
Pin 0: Magnetic field in NED frame as a 5-dimensional real array with the following components:- 0: Update flag (always 1)
- 1: North component of magnetic field
- 2: East component of magnetic field
- 3: Down component of magnetic field
- 4: Variance (always zero)
Magnetometer
Magnetometer sensor block returns the magnetic field being read by the selected sensor in the body frame.
-
Output
Pin 0: Magnetic field in body frame as a 5-dimensional real array with the following components:- 0: Update flag (always 1)
- 1: X body component of magnetic field
- 2: Y body component of magnetic field
- 3: Z body component of magnetic field
- 4: Variance
-
Configuration menu:
Magnetometer block configuration - Magnetometer: Users must select the desired internal or external sensor magnetometer to be used.
Position reader
This block extracts the absolute position measurement of the vehicle. It is typically used to provide the navigation system (EKF) or guidance modules with the spatial coordinates necessary for trajectory calculation and position holding
-
Output:
Pos: Absolute position measurement bus with the following fields:- 0: Update flag: True only in the step in which a new position measurement is received.
- 1: Fix type: 0 (No fix), 1 (Horizontal fix), 2 (Vertical fix) or 3 (3D fix). This block gives 3 when the receiver reports position fix and 0 otherwise.
- 2: Position: Measured absolute position (latitude, longitude and height).
- 3: Position variance in NED frame (North, East and Down) (m2).
- 4: Antenna position with respect to the center of mass in body frame (X, Y and Z) (m).
- 5: Measurement time: System time at which the position was measured (current time minus the measurement delay).
- 6: Measurement delay variance (s2).
-
Configuration menu:
Position reader block configuration -
Position variable: Allows the selection of the Identifier (Fid) for the position variable to be read.
-
Position Fix: Selection of the "Fix" signal indicating measurement validity.
-
Horizontal variance: Defines the statistical uncertainty of the position on the horizontal plane. It can be a constant value or a variable, and it is entered as an error in m: the block squares it to obtain the variance, which is never lower than 0.02 m2.
-
Vertical variance: Defines the statistical uncertainty of the altitude. It can be a constant value or a variable, and it is entered as an error in m: the block squares it to obtain the variance, which is never lower than 0.09 m2.
-
Delay: Specifies the time latency of the measurement (s). This is essential for synchronizing position data (often slower) with high-frequency inertial calculations. It must be greater than or equal to 0.
-
Delay variance: Variance of the measurement delay (s2). It must be greater than or equal to 0.
-
Decimation: Indicates the downsampling factor. A value of 10 means that a new measurement is generated once every 10 executions of the block, reducing computational load without sacrificing estimation stability. The minimum value is 10.
-
Relative position
Relative position sensor block works in conjunction with the Internest system to configure the Internest system as an ultrasound sensor that calculates the position of Veronte Autopilot 1x.
-
Inputs: The 3 navigation angles (yaw, pitch and roll) of the base platform can be entered.
base: Base position to which position measurements are relative. Usually a 'Moving object' is linked.
(Optional) yaw: Yaw of system of reference in which position measurements are received (0 if not connected).
(Optional) pitch: Pitch of system of reference in which position measurements are received (0 if not connected).
(Optional) roll: Roll of system of reference in which position measurements are received (0 if not connected). -
Output
Pin 0: Absolute position measurement bus with the following fields:- 0: Update flag: True only in the step in which a new position measurement is received.
- 1: Fix type: 0 (No fix), 1 (Horizontal fix), 2 (Vertical fix) or 3 (3D fix). This block gives 3 when the receiver reports position fix and 0 otherwise.
- 2: Position: Measured absolute position (latitude, longitude and height).
- 3: Position variance in NED frame (North, East and Down) (m2).
- 4: Antenna position with respect to the center of mass in body frame (X, Y and Z) (m).
- 5: Measurement time: System time at which the position was measured (current time minus the measurement delay).
- 6: Measurement delay variance (s2).
-
Configuration menu:
Relative position block configuration - Increment of horizontal/vertical variance with distance: With this increment, the further away the Veronte Autopilot 1x is from the base, the more variance it is given in a linear fashion.
-
Horizontal/Vertical sensor variance: Square error of the internest position in xy/z planes.
Note
If the option By device is selected, these parameters are automatically set by the autopilot.
-
Distance to mass center: x/y/z: Defines the distance between the Internest system and the center of mass from the base.
- Invert measurements (multiply them by -1): If enabled, the measurements shall be multiplied by -1.
More Information
These parameters are used in the calculation of the variance for the EKF algorithm by means of the following equation:
- : Horizontal/Vertical sensor variance position
- : Increment of hotizontal/vertical variance with distance
- : Distance to the base
SRTM height
SRTM height sensor block gets the terrain altitude at the current UAV position according to the configured mesh.
-
Output
Pin 0: Terrain altitude as a 4-dimensional real array with the following components:- 0: Update flag (always 1)
- 1: Valid flag (inside mesh)
- 2: Terrain height
- 3: Variance
-
Configuration menu:
SRTM height block configuration - Fine mesh variance: Variance of the fine mesh. This is the smallest mesh, which contains detailed information on the altitude of the terrain.
- Coarse mesh variance: Variance of the coarse mesh. This is the medium mesh with the least detail.
- Custom mesh variance: Uncertainty assigned to user-defined terrain datasets.
Important
- The values to be entered in the configuration of this block must be .
- If the configured error values are very large, the EKF will converge more slowly to them or give more importance to other sensors, such as Lidar, to know the height of the terrain.
- If these values are small, much more importance will be given to the terrain grid and it will converge faster.
Static Pressure
Static Pressure sensor block returns the static pressure measured by the selected sensor.
-
Output
Pin 0: Static pressure measurement as a 3-dimensional real array with the following components:- 0: Update flag
- 1: Pressure
- 2: Variance
-
Configuration menu:
Static Pressure block configuration - Static pressure sensor: Users must select the desired static pressure sensor to be used.
Visual Odometry Translational Sensor
Visual Odometry Translational Sensor block reads the configured system variables to provide visual odometry translational measurements. It converts the camera translation between two images into a velocity measurement in NED frame, with the same format as the GNSS velocity, so it can be fed to the Velocity EKF adapter block.
-
Output
Pin 0: Visual odometry velocity measurement as a 16-dimensional real array with the following components:- 0: Update flag (1 only in the step in which a new valid measurement is received, 0 otherwise)
- 1: Fix flag (1 if the last received measurement is valid, 0 otherwise)
- 2: North velocity (m/s)
- 3: East velocity (m/s)
- 4: Down velocity (m/s)
- 5: North velocity variance (m2/s2)
- 6: East velocity variance (m2/s2)
- 7: Down velocity variance (m2/s2)
- 8: North-East velocity covariance (m2/s2)
- 9: North-Down velocity covariance (m2/s2)
- 10: East-Down velocity covariance (m2/s2)
- 11: X camera position in body frame (m)
- 12: Y camera position in body frame (m)
- 13: Z camera position in body frame (m)
- 14: Measurement delay (s): time from the middle of the measurement interval to the current time.
- 15: Measurement delay variance (s2)
- Configuration menu:
Visual Odometry Translational Sensor block configuration - Measurements - Measurements tab: Users must select the system variables from which the visual odometry data is read:
- Message counter: Integer variable that the visual odometry source increments with each new measurement. The block only processes a measurement when this counter changes.
- Translation X/Y/Z (-): Translation of the camera between the two images, in image frame (X and Y in the image plane, Z along the camera optical axis). It is a dimensionless direction, scaled by the block with the scale factor and the distance measurement.
- Measurement time step (s): Time between the two images. It must be greater than 0.
- Scale factor: Factor that converts the translation into a distance. It must be greater than 0.
- Distance measurement (m): Estimated height above ground (AGL) of the vehicle, used to scale the translation. It must be greater than 0.
- Measurement fix bit: Boolean variable that indicates whether the visual odometry measurement is valid.
- Covariance fix bit: Boolean variable that indicates whether the covariance provided by the sensor is valid. It is only checked when Use sensor covariance is enabled.
- Scale factor fix bit: Boolean variable that indicates whether the scale factor is valid.
Visual Odometry Translational Sensor block configuration - Variances - Variances tab: Defines the uncertainty of the measurement. The higher the variance, the lower the influence of the measurement on the navigation filters.
- Use sensor covariance: Selects how the variables of this tab are interpreted:
- Enabled: The translation variances and covariances are the ones provided by the sensor, in image frame. The block scales them and combines them with the Scale factor variance and the Distance measurement variance to obtain the velocity covariance. In this case, the scale factor and distance variances must be greater than or equal to 0, and at least one of them must be greater than 0.
- Disabled: The translation variances and covariances are directly the velocity variances and covariances (m2/s2) in along-track, cross-track and depth axes. X is the along-track direction (direction of motion in the image plane), Y is the cross-track direction and Z is the depth direction. When the speed in the image plane is low (below 0.5 m/s), the along-track and cross-track variances are progressively averaged, since the direction of motion is not well defined.
- Translation X/Y/Z variance and Translation X-Y/X-Z/Y-Z covariance: Variances and covariances of the translation, interpreted as described above.
- Scale factor variance: Variance of the scale factor.
- Distance measurement variance (m2): Variance of the distance measurement.
- Use sensor covariance: Selects how the variables of this tab are interpreted:
Visual Odometry Translational Sensor block configuration - Mounting - Mounting tab: Defines the position and orientation of the camera with respect to the vehicle.
- Camera position X/Y/Z (body frame) (m): Position of the camera with respect to the center of mass, in body frame.
- Camera yaw/pitch/roll (rad): Orientation of the camera with respect to the body frame (yaw, pitch and roll sequence), in the range [-π, π).
- Delay variance (s2): Variance of the measurement delay. It must be greater than or equal to 0.
Note
Each time the Message counter changes, the measurement is published with the Update flag and Fix flag set to 1 only if all the following conditions are met. Otherwise, the Fix flag is set to 0 and the measurement is discarded:
- The Measurement fix bit and the Scale factor fix bit are true (and the Covariance fix bit, if Use sensor covariance is enabled).
- The Measurement time step, Scale factor and Distance measurement are greater than 0.
- The measurement delay is not greater than 0.975 s, which is the maximum delay the navigation filter can compensate.
- The resulting velocity covariance is valid (positive semi-definite).
© 2026 Embention. All rights reserved.